<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html  xmlns="http://www.w3.org/1999/xhtml"
	   xmlns:ui="http://java.sun.com/jsf/facelets"
	   xmlns:h="http://java.sun.com/jsf/html"
	   xmlns:f="http://java.sun.com/jsf/core">

<f:loadBundle basename="resources.application" var="msg"/>

<head>
    <title><h:outputText value="#{msg.welcomeTitle}" /></title>
</head>

<body>
<h:form>
<h3></h3>
<p></p>


	<center><h3><h:outputText value="validacion"/> </h3><p></p></center>
           <center>
               <h:panelGrid columns="4">
               
               	  <h:outputText value="edad"></h:outputText>
				  <h:inputText  id="edad" value="#{categoriaBackBean.edad}"></h:inputText>
				  <h:message for="edad" /><br/>
				   
				  <h:outputText value="cedula"></h:outputText>
				  <h:inputText  id="cedula" value="#{categoriaBackBean.cedula}" required="true" requiredMessage="el campo minomo deve tener un cracter" >
				  	<f:validateLongRange minimum="1"   />
				  </h:inputText>
				  <h:message for="cedula" /><br/>
				  
				  <h:commandButton value="validar" action="#{categoriaBackBean.validador}"/>
				  
              </h:panelGrid>
       </center>



</h:form>
</body>

</html>
